@charset "utf-8";
@import "common/reset";
@function p($px){
    @return $px/2+px;
}

.mobile{
    header{
        margin-top: p(50);
        height: p(61);
        line-height: p(61);
        text-align: center;
        button{
            width: p(123);
            height: p(57);
            border: 2px solid #FF9344;
            border-radius: p(15);
            background-color: white;
            margin-left: 2.8%;
            float: left;
        }
        img{
            float: right;
            width: p(61);
            margin-right: 2.8%;
        }
    }
    section{
        overflow: hidden;
        width: 100%;
        margin-bottom: p(136);
        .geren{
            width: 100%;
            margin-top: p(20);
            margin-bottom: p(20);
            .touxiang{
                width: p(170);
                height: p(170);
                border-radius: 50%;
                overflow: hidden;
                margin-left: 2.8%;
                float: left;
                img{
                    width: 140%;
                    position: relative;
                    left: p(-60);
                }
            }
            p{
                width: 50%; 
                float: left;
                margin-left: 2.8%;
                margin-top: p(28);
                &:nth-of-type(1){
                    font-size: p(30);
                }
                &:nth-of-type(2){
                    font-size: p(26);
                    color: #9d9d9d;
                }
            }
            a{
                color: black;
                font-size: p(88);
                float: right;
                margin-right: 2.8%;
                margin-top: p(28);
            }
        }
        .dianping{
            width: 100%;
            .box{
                width: p(195);
                height: p(151);
                &:nth-of-type(1){
                    background-color: #b2e0a0;
                    float: left;
                    margin-left: 2.8%;
                    text-align: center;
                    img{
                        width: p(80);
                        margin-top: p(16);
                    }
                    p{
                        font-size: p(26);
                    }
                }
                &:nth-of-type(2){
                    background-color: #e0b7a0;
                    float: right;
                    margin-right: 2.8%;
                    text-align: center;
                    img{
                        width: p(120);
                        margin-top: p(16);
                    }
                    p{
                        font-size: p(26);
                    }
                }
                &:nth-of-type(3){
                    background-color: #a0dce0;
                    margin: 0 auto;
                    text-align: center;
                    img{
                        width: p(80);
                        margin-top: p(16);
                    }
                    p{
                        font-size: p(26);
                    }
                }
            }
        }
        .tiaobox{
            width: 100%;
            height: p(100);
            line-height: p(100);
            img{
                float: left;
                margin-left: 2.8%;
                height: p(80);
                margin-top: p(10);
                &:nth-of-type(2){
                    height: p(26);
                    float: right;
                    margin-right: 2.8%;
                    margin-top: p(36);
                }
            }
            p{
                float: left;
                font-size: p(26);
                position: absolute;
                left: 17.6%;
            }
            a{
                float: right;
                color: black;
                font-size: p(24);
            }
            &:nth-of-type(3){
                margin-top: p(30);
            }
            &:nth-of-type(5){
               img{
                   &:nth-of-type(1){
                       height: p(60);
                       margin-top: p(20);
                   }
               }
            }
            &:nth-of-type(6){
               img{
                   &:nth-of-type(1){
                       height: p(60);
                       margin-top: p(20);
                   }
               }
            }
            &:nth-of-type(7){
                margin-top: p(60);
            }
            &:nth-of-type(8){
               img{
                   &:nth-of-type(1){
                       height: p(60);
                       margin-top: p(20);
                   }
               }
            }
        }
    }
    footer{
        position: fixed;
        width: 100%;
        bottom: 0;
        height: p(136);
        background-color: white;
        ul{
            li{
                width: 25%;
                float: left;
                text-align: center;
                a{
                    font-size: p(26);
                    color: black;
                    img{
                        width: p(73);
                        margin-top: p(16);
                    }
                    span{
                        display: block;
                    }
                }
            }
        }
    }
}

